/*!
 * Unit test for StatGen function.
 *
 *  Copyright (C) 2011  Anthony Wertz.
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _StatGenTest_h_
#define _StatGenTest_h_

#include <cppunit/extensions/HelperMacros.h>

class StatGenTest : public CppUnit::TestFixture
{
	CPPUNIT_TEST_SUITE( StatGenTest );
		CPPUNIT_TEST( testInvalidList );
		CPPUNIT_TEST( testZeroElements );
		CPPUNIT_TEST( testOneElement );
		CPPUNIT_TEST( testMultipleElements );
	CPPUNIT_TEST_SUITE_END( );

	public:
		/*!
		 * Tests an invalid list.
		 */
		void testInvalidList( void );
		
		/*!
		 * Tests a list with zero elements.
		 */
		void testZeroElements( void );
		
		/*!
		 * Tests a list with one element.
		 */
		void testOneElement( void );
		
		/*!
		 * Tests a list with more than two elements.
		 */
		void testMultipleElements( void );
};

#endif
